[INFO] cloning repository https://github.com/uriGrif/jpeg-encoder
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uriGrif/jpeg-encoder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e745743da12be5e70307d0ef8d9ae57e69f42a5b
[INFO] fixing uriGrif/jpeg-encoder against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/uriGrif/jpeg-encoder
[INFO] finished tweaking git repo https://github.com/uriGrif/jpeg-encoder
[INFO] tweaked toml for git repo https://github.com/uriGrif/jpeg-encoder written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/uriGrif/jpeg-encoder on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/uriGrif/jpeg-encoder already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7
[INFO] running `Command { std: "docker" "start" "5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking strsim v0.11.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling clap_derive v4.5.3
[INFO] [stderr]     Checking clap v4.5.3
[INFO] [stderr]     Checking jpeg-encoder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Y_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |             CH_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Y_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             CH_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &raw const Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:126:39
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &raw const CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:127:38
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &raw const Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &raw const CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Y_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |             CH_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.43s
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Y_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             CH_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &raw const Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:126:39
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &raw const CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:127:38
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &raw const Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &raw const CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: jpeg-encoder v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking jpeg-encoder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/bmp/bmp_image.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct BmpImage {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     file: Option<File>,
[INFO] [stdout] 13 |     path: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pixel_amount` is never used
[INFO] [stdout]   --> src/bmp/bmp_image.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl BmpImage {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn pixel_amount(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `for_each_pixel` and `pretty_print` are never used
[INFO] [stdout]   --> src/pixel_matrix/pixel_matrix.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T: Default + Copy + Debug> PixelMatrix<T> {
[INFO] [stdout]    | ---------------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn for_each_pixel<F>(&self, f: &mut F) where F: FnMut(&T) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn pretty_print(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset` and `get_next_pixel` are never used
[INFO] [stdout]   --> src/pixel_matrix/block_iterator.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<'a, T: Default + Copy + Debug> PixelMatrixBlockIterator<'a, T> {
[INFO] [stdout]    | ------------------------------------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn get_next_pixel(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Y_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |             CH_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Y_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             CH_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &raw const Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:126:39
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &raw const CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:127:38
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &raw const Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &raw const CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jpeg-encoder` (bin "jpeg-encoder") due to 8 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/bmp/bmp_image.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct BmpImage {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     file: Option<File>,
[INFO] [stdout] 13 |     path: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pixel_amount` is never used
[INFO] [stdout]   --> src/bmp/bmp_image.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl BmpImage {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn pixel_amount(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pretty_print` is never used
[INFO] [stdout]   --> src/pixel_matrix/pixel_matrix.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T: Default + Copy + Debug> PixelMatrix<T> {
[INFO] [stdout]    | ---------------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn pretty_print(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Y_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |             CH_DC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Y_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             CH_AC_HUFFMAN_TABLE.generate_codes();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |             HuffmanTableType::YDC => &raw const Y_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:126:39
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 126 |             HuffmanTableType::CHDC => &raw const CH_DC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:127:38
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 127 |             HuffmanTableType::YAC => &raw const Y_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/jpeg/huffman_tables.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 128 |             HuffmanTableType::CHAC => &raw const CH_AC_HUFFMAN_TABLE,
[INFO] [stdout]     |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jpeg-encoder` (bin "jpeg-encoder" test) due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7", kill_on_drop: false }`
[INFO] [stdout] 5f6b030268874ecedb2bcf4db251384adedb5eaca3a50a7f5d811ff76b84a4b7
